package com.jkc.xh.network.models;

import com.jkc.xh.utils.MD5Util;

/**
 * Created by wangjie28 on 2015/12/1.
 */
public class BuyIndexRequest {
    public String code;
    public String price;
    public String amount;
    public int buytype;
    public int is_pay_bean;
    public String sign;

    public BuyIndexRequest(String code, String price, String amount, int buytype, int is_pay_bean) {
        this.code = code;
        this.price = price;
        this.amount = amount;
        this.buytype = buytype;
        this.is_pay_bean = is_pay_bean;
        this.sign = MD5Util.MD5(this.code + "|" + this.price + "|" + this.amount + "|" + this.buytype);
    }
}
